package com.ruoyi.produce.process.bulletin.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

/**
 * @author Drj 2021/12/20
 */
public class AchievementInfo {
    /**
     * 员工编号
     */
    private String staffId;
    /**
     * 不良品数量
     */
    private Double defectiveNum;
    /**
     * 总数量
     */
    private Double total;
    /**
     * 日期
     */
    private String dateAchievement;

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public Double getDefectiveNum() {
        return defectiveNum;
    }

    public void setDefectiveNum(Double defectiveNum) {
        this.defectiveNum = defectiveNum;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    public String getDateAchievement() {
        return dateAchievement;
    }

    public void setDateAchievement(String dateAchievement) {
        this.dateAchievement = dateAchievement;
    }

    public AchievementInfo() {
    }

    public AchievementInfo(Achievement achievement) {
        this.staffId = achievement.getStaffId();
    }
}
